package com.jomoo.css.common.core.config;

import com.jomoo.css.common.core.interceptor.DefaultFeignInterceptor;
import feign.RequestInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author ling
 * @date 2018/9/14
 * feign 租户信息拦截
 */
@Configuration
public class DefaultFeignConfiguration {
	@Bean
	public RequestInterceptor feignTenantInterceptor() {
		return new DefaultFeignInterceptor();
	}
}
